package com.ow.dva.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class InitApplication {

    Logger logger = LoggerFactory.getLogger(this.getClass());

    @PostConstruct
    public void test(){
        logger.info("自动启动代码");
    }
}
